﻿using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OrderAPI.Model
{
    public class UserWeightModel
    {
        [Description("用户权重")]
        public class SaveParam
        {
            [ParamDescription("参数列表")]
            public IList<SaveModel> list { get; set; }
        }

        public class GetModel : SaveModel
        {
            [ParamDescription("用户名称")]
            public string UserName { get; set; }

        }

        [Description("用户权重")]
        public class SaveModel
        {
            [ParamDescription("用户ID")]
            public int UserID { get; set; }

            [ParamDescription("权重")]
            public decimal Weight { get; set; }
        }
    }
}
